package com.sse.sensor.event;

import java.util.EventObject;

/**
 * Clase que define el evento de sensor.
 * @author Jean Paul Manjarres Correal.
 *
 */
public class SensorEvent extends EventObject{

	private static final long serialVersionUID = 2547776739383386616L;
	
	/** Informacion asociada al evento. */
	private Object data;

	public SensorEvent(Object source) {
		super(source);	
		data = source;
	}

	public Object getData() {		
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
